package org.shijiagen.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.shijiagen.param.OrderParam;
import org.shijiagen.param.PageParam;
import org.shijiagen.pojo.Order;
import org.shijiagen.utils.R;
import org.shijiagen.vo.OrderVo;

import java.util.List;

public interface OrderService extends IService<Order> {

    List<List<OrderVo>> list(Integer userId);
    void save(OrderParam orderParam);

    R check(Integer productId);

    R adminList(PageParam pageParam);
}
